package io.renren.modules.task.dao;

import io.renren.modules.task.entity.MtCcAreaRouteEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.task.model.MtCcAreaRouteEntityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-04-23 09:03:45
 */
@Mapper
@Component
public interface MtCcAreaRouteDao extends BaseMapper<MtCcAreaRouteEntity> {

    MtCcAreaRouteEntityVo selectEmptyCarPoint(String consoleCode);

    List<MtCcAreaRouteEntityVo> selectRouteCode(String consoleCode);

    List<MtCcAreaRouteEntityVo> selectRouteCodeByTaskType(@Param("params") Map<String, Object> params);
}
